import fastify from 'fastify';
const app = fastify();

app.get('/', function (request, reply) {
  reply.send();
});

app.get('/user/:id', function (request, reply) {
  reply.send(request.params.id);
});

app.post('/user', function (request, reply) {
  reply.send();
});

app.listen({ port: 3000, host: '0.0.0.0' }, function () {});
